package com.bw.ppjokeplay.adapter

import android.content.Intent
import android.widget.ImageView
import android.widget.TextView
import com.bumptech.glide.Glide
import com.bw.ppjokeplay.App
import com.bw.ppjokeplay.R
import com.bw.ppjokeplay.mvvm.model.entity.FeedEntity
import com.bw.ppjokeplay.mvvm.model.entity.TagDataEntity
import com.bw.ppjokeplay.mvvm.model.entity.TagEntity
import com.bw.ppjokeplay.mvvm.view.home.Commentsactivity
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.shuyu.gsyvideoplayer.video.StandardGSYVideoPlayer
import org.w3c.dom.Text

/**
 * @author Lishaohe
 * @description:
 * @date :2021/11/10 0010 下午 6:39
 *
 */
class FindConcernAdapter: BaseQuickAdapter<TagDataEntity, BaseViewHolder>(R.layout.item_concert) {
    override fun convert(holder: BaseViewHolder, item: TagDataEntity) {

        Glide.with(context).load(item.icon).circleCrop().into(holder.getView(R.id.tag_avtar))
        holder.setText(R.id.tag_title,item.title)
        holder.setText(R.id.tag_desc,item.intro)

    }


}